package com.wgts.wgts.mvp.model;

import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.resp.CurrentEntity;
import com.wgts.wgts.netmodle.resp.MyOrderListEntity;

import java.util.List;

public interface IMyOrderFragmentModel {
    void initList(String orderState, Integer pageIndex, Integer pageSize,
                     HttpResultSubscriber<List<MyOrderListEntity>> subscriber);
    void cancelOrder(String orderId, HttpResultSubscriber<CurrentEntity> subscriber);
    void takeGoods(String orderId, HttpResultSubscriber<CurrentEntity> subscriber);
}
